<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      lang="en_US"
      xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>login</title>
</head>
<body>


<form th:action="@{/login}" method="POST">
  <p>名称：<input id="username" name="username" type="text" value=""/></p>
  <p>描述：<input id="password" name="password" type="password" value=""/></p>
  <p>记住我：<input id="remember_me" name="remember-me" type="checkbox"></p>
  <p><input type="submit" value="登录"></p>
  <input type="hidden" id="${_csrf.parameterName}"
         name="${_csrf.parameterName}" value="${_csrf.token}"/>
</form>

</body>
</html>